﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"/>
    <script src="js/vue.js"></script>
    <script src="js/axios.js"></script>
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<body>

<div id="app">

    <label>
        用户名： <input type="text" name="username" v-model="username" required>
    </label>
    <label>
        密码 ：<input type="password" name="password" v-model="password" required>
    </label>

    <button type="button" @click="login">提交</button>


</div>


</body>
<script src="js/index.js"></script>
</html>